package com.fjh.springboot_01.pojo.homework;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Homework {
    private Integer id;
    private Integer tutoringBookingId;
    private String title;
    private String description;
    private Integer homeworkType;
    private Integer status;
    private Integer categoryId;  // 添加课程分类ID字段
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 非数据库字段
    private List<HomeworkQuestion> questions;
    private String teacherName;
    private String studentName;
} 